package com.example.account.dto;

import java.math.BigDecimal;

public class AccountDTO {
    private String code;
    private BigDecimal amount;

    public AccountDTO(String code, BigDecimal amount) {
        this.code = code;
        this.amount = amount;
    }

    public AccountDTO() {
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}
